package com.zgroup.domain

class EstateStatistics {

  String statisticsDate   //  统计日期（YYYYMMDD）

  Integer bidCount = 0
  Integer vipCount = 0
  Integer totalCount = 0
  Integer userCount = 0

  static constraints = {
    statisticsDate(blank: false, maxSize: 8)
  }

  static belongsTo = [estate: Estate]

  String toString() {
    "id:" + id + ",statisticsDate:" + statisticsDate + ",estate:" + estate
  }
}
